import 'package:json_annotation/json_annotation.dart';

part 'sys_dict_data.g.dart';
//字典表
@JsonSerializable()
class SysDictData {
  String? dictValue;
  String? listClass;
  int? dictSort;
  String? remark;
  String? dictType;
  String? dictLabel;
  String? createBy;
  String? isDefault;
  bool? sysJobWelfareDefault;
  DateTime? createTime;
  int? dictCode;
  String? status;
  bool checked = false;

  SysDictData({
     this.dictValue,
     this.listClass,
     this.dictSort,
     this.remark,
     this.dictType,
     this.dictLabel,
     this.createBy,
     this.isDefault,
     this.sysJobWelfareDefault,
     this.createTime,
     this.dictCode,
     this.status,
     required this.checked,
  });

  factory SysDictData.fromJson(Map<String, dynamic> json) => _$SysDictDataFromJson(json);

  Map<String, dynamic> toJson() => _$SysDictDataToJson(this);
}
